set JAVA_HOME=D:\tangguan\idex\idex\idex\ide\jre
set ANT_HOME=D:\tangguan\idex\idex\idex\ide\plugins\org.apache.ant_1.7.1.v20100518-1145

set PATH=%PATH%;%JAVA_HOME%/bin;%ANT_HOME%/bin
set CLASSPATH=%CLASSPATH%;%JAVA_HOME%/jre/lib/rt.jar;.

ant -buildfile buildEarZip.xml

pause